package com.yss.reportworld.domain.dim;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yss.common.core.annotation.EasyExcel;
import com.yss.common.core.utils.easyexecl.IntegerConverter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.yss.common.core.web.domain.TreeEntity;

/**
 * 报世界指标类型对象 dim_zblx
 *
 * @author yss
 * @date 2023-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dim_zblx")
public class DimZblx extends TreeEntity {
    /**  */
    @ExcelIgnore
    @TableId("ID")
    private String id;

    /**
     * 指标类型编号
     */
    @ExcelProperty(value = "指标类型编号")
    @TableField("FINDX_TP_CODE")
    private String findxTpCode;

    /**
     * 指标名称
     */
    @ExcelProperty(value = "指标名称")
    @TableField("FINDX_NM")
    private String findxNm;

    /**
     * 指标类型
     */
    @ExcelProperty(value = "指标类型")
    @TableField("ZBLX_TYPE")
    private String zblxType;
    /**
     * 版本号
     */
    @ExcelProperty(value = "版本号")
    @TableField("VERSION")
    private String version;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = IntegerConverter.class)
    @EasyExcel(readConverterExp = "1=正常,2=停用")
    @TableField("STATUS")
    private Integer status;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

}
